package tech.aistar.corejava.day03.day03_work;

/**
 * Created by 豆梦寒 on 2019/7/17.
 */
public class Test03 {
    public static void main(String[] args) {
        int n = 1;
        for(int i = 101; i <= 200; i++){
            int j = 2;
            while(i % j != 0 ){
                j++;
            }
            if(i == j){
                if(n % 7 != 0){
                    System.out.print(i+" ");
                    n++;
                }else{
                    System.out.println(i);
                    n++;
                }
            }
        }
    }
}
